Skip to content

Add read-only discovery workflows#111

Open
juliamuiruri4 wants to merge 3 commits into
juliamuiruri4-research-agentic-workflowsfrom
juliamuiruri4-read-only-discovery
Open

Add read-only discovery workflows#111
juliamuiruri4 wants to merge 3 commits into
juliamuiruri4-research-agentic-workflowsfrom
juliamuiruri4-read-only-discovery

Conversation

@juliamuiruri4

Copy link
Copy Markdown
Contributor

Summary

  • add five manually dispatched Quest Master discovery workflows for Foundry Local, Microsoft Foundry, Agentic RAG, Foundry Toolkit, and Context Engineering
  • constrain each workflow to fixed evidence sources, owned paths, read-only tools, and staged outputs
  • validate workflow topology, source boundaries, compiler guards, and generated-lock permissions

Stack

  • depends on Add agentic refresh Phase 0 controls #110
  • review this PR as the Phase 1 increment only; Phase 0 remains intentionally unmerged
  • live workflow trials remain blocked until the bootstrap definitions reach the default branch

Validation

  • gh aw compile --strict --validate --no-check-update --purge
  • node scripts/validate-refresh-config.mjs
  • node scripts/validate-content-links.mjs
  • mkdocs build --strict

juliamuiruri4 and others added 3 commits July 24, 2026 16:07
Define five manual Quest Master workflows with fixed evidence boundaries and staged outputs. Extend validation to enforce topology, permissions, and compiler guards.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Print compiler changes when lock synchronization fails so platform-specific output can be diagnosed from the job log.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Expose the read-only job token to gh-aw so generated action references resolve consistently with committed lock files.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@juliamuiruri4
juliamuiruri4 marked this pull request as ready for review July 24, 2026 13:47
@juliamuiruri4
juliamuiruri4 requested a review from Copilot July 24, 2026 18:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Phase 1, manually dispatched “Quest Master” discovery workflows intended to collect bounded, read-only evidence for specific quests, along with validation guards to ensure workflows remain manual-only, read-only, and topology/source constrained.

Changes:

  • Added five workflow_dispatch discovery workflow definitions (discover-*.md) plus their compiled .lock.yml counterparts and shared read-only discovery policy.
  • Added five non-invocable Quest Master agent profiles (*.agent.md) that fix approved sources, owned paths, and stop conditions per quest.
  • Extended the repo’s validation script and CI workflow to validate the discovery policy/workflow topology and improve diagnostics for lock-file drift.
Show a summary per file
File Description
scripts/validate-refresh-config.mjs Adds validators for the shared discovery policy and the five Phase 1 discovery workflows (sources/domains/topology/permissions/safe-outputs staging).
.github/workflows/validate-agentic-workflows.yml Ensures gh aw compile has a token available and prints diffs when generated locks drift.
.github/workflows/shared/discovery-policy.md Introduces a shared read-only tool/network policy and explicit “no-change/blocked” outcomes for Phase 1 discovery.
.github/workflows/discover-foundry-local.md Adds manual-only discovery workflow definition for the Foundry Local quest.
.github/workflows/discover-foundry-local.lock.yml Adds compiled lock workflow for Foundry Local discovery.
.github/workflows/discover-microsoft-foundry.md Adds manual-only discovery workflow definition for the Microsoft Foundry quest.
.github/workflows/discover-microsoft-foundry.lock.yml Adds compiled lock workflow for Microsoft Foundry discovery.
.github/workflows/discover-agentic-rag.md Adds manual-only discovery workflow definition for the Agentic RAG quest (includes external CodeTour auditing).
.github/workflows/discover-agentic-rag.lock.yml Adds compiled lock workflow for Agentic RAG discovery.
.github/workflows/discover-foundry-toolkit.md Adds manual-only discovery workflow definition for the Foundry Toolkit quest.
.github/workflows/discover-foundry-toolkit.lock.yml Adds compiled lock workflow for Foundry Toolkit discovery.
.github/workflows/discover-context-engineering.md Adds manual-only discovery workflow definition for the Context Engineering quest (includes external CodeTour auditing).
.github/workflows/discover-context-engineering.lock.yml Adds compiled lock workflow for Context Engineering discovery.
.github/agents/foundry-local-quest-master.agent.md Adds Quest Master agent profile for Foundry Local (read-only, fixed sources/paths).
.github/agents/microsoft-foundry-quest-master.agent.md Adds Quest Master agent profile for Microsoft Foundry (read-only, fixed sources/paths).
.github/agents/agentic-rag-quest-master.agent.md Adds Quest Master agent profile for Agentic RAG (read-only, includes external CodeTour boundary).
.github/agents/foundry-toolkit-quest-master.agent.md Adds Quest Master agent profile for Foundry Toolkit (read-only, fixed sources/paths).
.github/agents/context-engineering-quest-master.agent.md Adds Quest Master agent profile for Context Engineering (read-only, includes external CodeTour boundary).
.github/workflows/shared/discovery-policy.md Shared Phase 1 read-only discovery policy imported by all discovery workflows.
.github/aw/actions-lock.json Adds an actions lock registry for pinned action SHAs used by workflows.
.github/dependabot.yml Updates Dependabot config to ignore github/gh-aw-actions/** updates (managed by gh-aw compiler).
.github/agentic-refresh/README.md Documents Phase 1 read-only discovery workflows and the staged safe-output/permission rationale.
.github/agentic-refresh/governance.md Adds Phase 1 compiler guard rationale and constraints (staged safe-outputs to avoid write perms).

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 22/22 changed files
  • Comments generated: 2
  • Review effort level: Low

Comment on lines +821 to +824
const frontmatter = readFrontmatter(workflowText, workflowPath);
const agentFrontmatter = readFrontmatter(agentText, agentPath);
const allowedDomains = readYamlList(frontmatter, "network:\\n allowed");
const agentBlocks = [
Comment thread .github/dependabot.yml
Comment on lines +2 to +6
- directory: /
ignore:
- dependency-name: "github/gh-aw-actions/**" # Managed by gh aw compile. Version-locked to the gh-aw compiler; do not bump.
package-ecosystem: github-actions
schedule:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants